import {MsgResult} from "../../models/msg-result";
import {Observable} from "rxjs/Observable";
export interface HttpClientInterface {
  get(api: string, params?: string): Observable<MsgResult> | any;

  post(api: string, params?: string): Observable<MsgResult> | any;

  put(api: string, params?: string): Observable<MsgResult> | any;

  delete(api: string, params?: string): Observable<MsgResult> | any;

  patch(api: string, params?: string): Observable<MsgResult> | any;

  head(api: string, params?: string): Observable<MsgResult> | any;

  options(api: string, params?: string): Observable<MsgResult> | any;

  postWithData(api: string, params?: string): Observable<any> | any;

  getFile(api: string, params?: string): Observable<ArrayBuffer> | any;
}
